# core/cli/progress.py
from rich.progress import (
    Progress, 
    TimeElapsedColumn,
    TransferSpeedColumn
)

class EnhancedProgress:
    def show(self, total):
        with Progress(
            TimeElapsedColumn(),
            TransferSpeedColumn(),
            transient=True
        ) as progress:
            task = progress.add_task("Processing", total=total)
            while not progress.finished:
                progress.update(task, advance=1)
                time.sleep(0.1)